package com.intellagric.mapper;

import com.intellagric.pojo.ProductUsed;
import com.intellagric.pojo.ProductUsedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductUsedMapper {
    long countByExample(ProductUsedExample example);

    int deleteByExample(ProductUsedExample example);

    int deleteByPrimaryKey(String id);

    int insert(ProductUsed record);

    int insertSelective(ProductUsed record);

    List<ProductUsed> selectByExample(ProductUsedExample example);

    ProductUsed selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ProductUsed record, @Param("example") ProductUsedExample example);

    int updateByExample(@Param("record") ProductUsed record, @Param("example") ProductUsedExample example);

    int updateByPrimaryKeySelective(ProductUsed record);

    int updateByPrimaryKey(ProductUsed record);
}